package com.atguigu.springboot.entities;

public class Attraction {
    private Integer aid;

    private String name;

    private String address;

    private String describe1;

    private String describe2;

    private String describe3;

    private String image;

    private String bf1;

    private String bf2;

    private String bf3;

    public Attraction(Integer aid, String name, String address, String describe1, String describe2, String describe3, String image, String bf1, String bf2, String bf3) {
        this.aid = aid;
        this.name = name;
        this.address = address;
        this.describe1 = describe1;
        this.describe2 = describe2;
        this.describe3 = describe3;
        this.image = image;
        this.bf1 = bf1;
        this.bf2 = bf2;
        this.bf3 = bf3;
    }

    public Attraction() {
        super();
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getDescribe1() {
        return describe1;
    }

    public void setDescribe1(String describe1) {
        this.describe1 = describe1 == null ? null : describe1.trim();
    }

    public String getDescribe2() {
        return describe2;
    }

    public void setDescribe2(String describe2) {
        this.describe2 = describe2 == null ? null : describe2.trim();
    }

    public String getDescribe3() {
        return describe3;
    }

    public void setDescribe3(String describe3) {
        this.describe3 = describe3 == null ? null : describe3.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getBf1() {
        return bf1;
    }

    public void setBf1(String bf1) {
        this.bf1 = bf1 == null ? null : bf1.trim();
    }

    public String getBf2() {
        return bf2;
    }

    public void setBf2(String bf2) {
        this.bf2 = bf2 == null ? null : bf2.trim();
    }

    public String getBf3() {
        return bf3;
    }

    public void setBf3(String bf3) {
        this.bf3 = bf3 == null ? null : bf3.trim();
    }

    @Override
    public boolean equals(Object obj) {
        return this.getAid()==((Attraction)obj).getAid();
    }
}